/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.service;

import com.tesam.gedeon.entity.Country; 
import java.util.List;

/**
 *
 * @author Sistema
 */
public interface CountryService {
    
    public List<Country> getListAll();
    
    public int getCountAll();
    
    public List<Country> getAllByLimit(int startLimit, int endLimit, String dataToSort, String directionOfOrder);
    
    public List<Country> getSearchCountryByLimit(int startLimit, int endLimit, String dataToSort, String directionOfOrder, Country country) ;
    
    public List<Country> getCountryById(Country country);
    
    public void updateCountry(Country country) ;
    
    public int saveCountry(Country country);
    
    public List<Country> deleteCountry(Country country);
    
    public int getTotalBySearch(Country country);
    
     public String getJsonDataFromArrayList(List<Country> listCountry, int countRecord);
    
}

